package com.gov.dna.admin.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.gov.dna.base.entity.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.Alias;


/**
 * 角色 权限 权限细分关联
 * @author (作者) Dong Jie 154046519@qq.com
 * @version V1.0
 * @date 2019/1/5 20:38
 * @since (该版本支持的JDK版本) 1.8
 */
@Data
@Alias("RolePermissionScope")
@TableName("admin_role_pms_scope")
@ApiModel(value = "角色 权限 权限细分关联Entity:RolePermissionScope")
public class RolePermissionScope extends BaseModel<RolePermissionScope> {

    @ApiModelProperty(value = "角色Id")
    private Long roleId;

    @ApiModelProperty(value = "权限Id")
    private Long permissionId;

    @ApiModelProperty(value = "权限细分Id")
    private Long scopeId;

}
